#ifndef DDFUNC_H
#define DDFUNC_H

BOOL ClearSurface(LPDIRECTDRAWSURFACE7 surf,int iColor);

HRESULT DXDDInit(IDirectDraw7 **ppiDD,
				 IDirectDrawSurface7 **primsurf, IDirectDrawSurface7 **backsurf,
				 HWND hWnd, SIZE sizScreen, WORD iColors, BOOL *bFullScreen);
DWORD GetRGBColor(DDPIXELFORMAT *ftpixel, DWORD R, DWORD G, DWORD B);

#endif